-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
added seperate schemas for epa and pro
- Loading branch information
1 parent
f1c6b07
commit e23c904
Showing
3 changed files
with
101 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
{ | ||
"$id": "https://gematik.de/ti-m/permissionConfig.json", | ||
"$schema": "http://json-schema.org/draft-07/schema#", | ||
"title": "Permission Configuration", | ||
"type": "object", | ||
"properties": { | ||
"defaultSetting": { | ||
"type": "string", | ||
"enum": [ | ||
"allow all", | ||
"block all" | ||
] | ||
}, | ||
"domainExceptions": { | ||
"type": "object", | ||
"description": "The map of servers to in-/exclude. This is a mapping of Matrix server name (https://spec.matrix.org/v1.3/appendices/#server-name) to empty object.", | ||
"patternProperties": { | ||
"^.*$": { | ||
"type": "object", | ||
"description": "An empty object for future enhancement" | ||
} | ||
}, | ||
"additionalProperties": false | ||
}, | ||
"userExceptions": { | ||
"type": "object", | ||
"description": "The map of users to in-/exclude. This is a mapping of Matrix user ID (https://spec.matrix.org/v1.3/appendices/#user-identifiers) to empty object.", | ||
"patternProperties": { | ||
"^@.*$": { | ||
"type": "object", | ||
"description": "An empty object for future enhancement" | ||
} | ||
}, | ||
"additionalProperties": false | ||
}, | ||
"groupExceptions": { | ||
"type": "array", | ||
"uniqueItems": true, | ||
"items": { | ||
"groupName": { | ||
"description": "The name of the group to be in-/excluded", | ||
"type": "string", | ||
"enum": [ | ||
"isInsuredPerson" | ||
] | ||
} | ||
} | ||
} | ||
}, | ||
"required": [ | ||
"defaultSetting" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
{ | ||
"$id": "https://gematik.de/ti-m/permissionConfig.json", | ||
"$schema": "http://json-schema.org/draft-07/schema#", | ||
"title": "Permission Configuration", | ||
"type": "object", | ||
"properties": { | ||
"defaultSetting": { | ||
"type": "string", | ||
"enum": [ | ||
"allow all", | ||
"block all" | ||
] | ||
}, | ||
"domainExceptions": { | ||
"type": "object", | ||
"description": "The map of servers to in-/exclude. This is a mapping of Matrix server name (https://spec.matrix.org/v1.3/appendices/#server-name) to empty object.", | ||
"patternProperties": { | ||
"^.*$": { | ||
"type": "object", | ||
"description": "An empty object for future enhancement" | ||
} | ||
}, | ||
"additionalProperties": false | ||
}, | ||
"userExceptions": { | ||
"type": "object", | ||
"description": "The map of users to in-/exclude. This is a mapping of Matrix user ID (https://spec.matrix.org/v1.3/appendices/#user-identifiers) to empty object.", | ||
"patternProperties": { | ||
"^@.*$": { | ||
"type": "object", | ||
"description": "An empty object for future enhancement" | ||
} | ||
}, | ||
"additionalProperties": false | ||
} | ||
}, | ||
"required": [ | ||
"defaultSetting" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{ | ||
"defaultSetting": "allow all", | ||
"groupExceptions": [ | ||
{ | ||
"groupName": "isInsuredPerson" | ||
} | ||
] | ||
} |