Skip to content

Instantly share code, notes, and snippets.

@is3ka1
Last active August 5, 2022 12:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save is3ka1/9a7191687ab152fc0f16e2aaa6b2af2a to your computer and use it in GitHub Desktop.
Save is3ka1/9a7191687ab152fc0f16e2aaa6b2af2a to your computer and use it in GitHub Desktop.
whitelist.json
{
"id": "whitelist",
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid"
},
"project_id": {
"type": "string",
"format": "uuid"
},
"name": {
"type": "string"
},
"description": {
"type": "string"
},
"rules": {
"$ref": "#/$defs/rules"
},
"updated_time": {
"type": "string",
"format": "date-time"
},
"created_time": {
"type": "string",
"format": "date-time"
}
},
"$defs": {
"rules": {
"type": "array",
"items": {
"$ref": "#/$defs/rules#/id"
},
"minItems": 1,
"uniqueItems": true
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment