Skip to content

Commit

Permalink
feat: Fix strict ajv warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
l0b0 committed Nov 22, 2021
1 parent 7ffcaf4 commit 244ab5d
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions extensions/linz/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
{
"$comment": "Type-specific schemas",
"if": {
"type": "object",
"properties": {
"type": {
"const": "Collection"
Expand Down Expand Up @@ -85,6 +86,7 @@
},
"else": {
"if": {
"type": "object",
"properties": {
"type": {
"const": "Feature"
Expand Down Expand Up @@ -954,8 +956,10 @@
"allOf": [
{
"contains": {
"type": "object",
"properties": {
"roles": {
"type": "array",
"contains": {
"const": "manager"
}
Expand All @@ -965,8 +969,10 @@
},
{
"contains": {
"type": "object",
"properties": {
"roles": {
"type": "array",
"contains": {
"const": "custodian"
}
Expand Down Expand Up @@ -1015,9 +1021,12 @@
"providers": {
"allOf": [
{
"type": "array",
"contains": {
"type": "object",
"properties": {
"roles": {
"type": "array",
"contains": {
"const": "licensor"
}
Expand All @@ -1026,9 +1035,12 @@
}
},
{
"type": "array",
"contains": {
"type": "object",
"properties": {
"roles": {
"type": "array",
"contains": {
"const": "producer"
}
Expand Down

0 comments on commit 244ab5d

Please sign in to comment.