-
Notifications
You must be signed in to change notification settings - Fork 63
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
fada185
commit 8c39102
Showing
4 changed files
with
177 additions
and
181 deletions.
There are no files selected for viewing
170 changes: 85 additions & 85 deletions
170
proposals/initial-connection/tooling/schema-new.schema.json
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 |
---|---|---|
@@ -1,95 +1,95 @@ | ||
{ | ||
"$schema": "http://json-schema.org/draft-07/schema#", | ||
"type":"object", | ||
"definitions": { | ||
"singleSecurityDefinition":{ | ||
"type":"object", | ||
"properties": { | ||
"scheme":{ | ||
"type":"string" | ||
} | ||
} | ||
}, | ||
"singleConnectionDefinition": { | ||
"type": "object", | ||
"properties": { | ||
"base": { | ||
"type": "string" | ||
} | ||
} | ||
}, | ||
"singleFormDefinition": { | ||
"type": "object", | ||
"properties": { | ||
"contentType": { | ||
"type": "string" | ||
}, | ||
"connection":{ | ||
"$ref": "#/definitions/singleConnectionDefinition" | ||
} | ||
} | ||
}, | ||
"singleSchemaDefinition": { | ||
"type": "object" | ||
"$schema": "http://json-schema.org/draft-07/schema#", | ||
"type": "object", | ||
"definitions": { | ||
"singleSecurityDefinition": { | ||
"type": "object", | ||
"properties": { | ||
"scheme": { | ||
"type": "string" | ||
} | ||
} | ||
}, | ||
"properties": { | ||
"security": { | ||
"oneOf": [ | ||
{ | ||
"$ref": "#/definitions/singleSecurityDefinition" | ||
}, | ||
{ | ||
"type": "string", | ||
"$comment": "Reference to a securityDefinitions object key" | ||
} | ||
] | ||
}, | ||
"form": { | ||
"oneOf": [ | ||
{ | ||
"$ref": "#/definitions/singleFormDefinition" | ||
}, | ||
{ | ||
"type": "string", | ||
"$comment": "Reference to a formDefinitions object key" | ||
} | ||
] | ||
"singleConnectionDefinition": { | ||
"type": "object", | ||
"properties": { | ||
"base": { | ||
"type": "string" | ||
} | ||
} | ||
}, | ||
"singleFormDefinition": { | ||
"type": "object", | ||
"properties": { | ||
"contentType": { | ||
"type": "string" | ||
}, | ||
"connection": { | ||
"oneOf": [ | ||
{ | ||
"$ref": "#/definitions/singleConnectionDefinition" | ||
}, | ||
{ | ||
"type": "string", | ||
"$comment": "Reference to a connectionDefinitions object key" | ||
} | ||
] | ||
}, | ||
"securityDefinitions": { | ||
"type": "object", | ||
"additionalProperties": { | ||
"$ref": "#/definitions/singleSecurityDefinition" | ||
} | ||
"$ref": "#/definitions/singleConnectionDefinition" | ||
} | ||
} | ||
}, | ||
"singleSchemaDefinition": { | ||
"type": "object" | ||
} | ||
}, | ||
"properties": { | ||
"security": { | ||
"oneOf": [ | ||
{ | ||
"$ref": "#/definitions/singleSecurityDefinition" | ||
}, | ||
"connectionDefinitions": { | ||
"type": "object", | ||
"additionalProperties": { | ||
"$ref": "#/definitions/singleConnectionDefinition" | ||
} | ||
{ | ||
"type": "string", | ||
"$comment": "Reference to a securityDefinitions object key" | ||
} | ||
] | ||
}, | ||
"form": { | ||
"oneOf": [ | ||
{ | ||
"$ref": "#/definitions/singleFormDefinition" | ||
}, | ||
"formDefinitions": { | ||
"type": "object", | ||
"additionalProperties": { | ||
"$ref": "#/definitions/singleFormDefinition" | ||
} | ||
{ | ||
"type": "string", | ||
"$comment": "Reference to a formDefinitions object key" | ||
} | ||
] | ||
}, | ||
"connection": { | ||
"oneOf": [ | ||
{ | ||
"$ref": "#/definitions/singleConnectionDefinition" | ||
}, | ||
"schemaDefinitions": { | ||
"type": "object", | ||
"additionalProperties": { | ||
"$ref": "#/definitions/singleSchemaDefinition" | ||
} | ||
{ | ||
"type": "string", | ||
"$comment": "Reference to a connectionDefinitions object key" | ||
} | ||
] | ||
}, | ||
"securityDefinitions": { | ||
"type": "object", | ||
"additionalProperties": { | ||
"$ref": "#/definitions/singleSecurityDefinition" | ||
} | ||
}, | ||
"connectionDefinitions": { | ||
"type": "object", | ||
"additionalProperties": { | ||
"$ref": "#/definitions/singleConnectionDefinition" | ||
} | ||
}, | ||
"formDefinitions": { | ||
"type": "object", | ||
"additionalProperties": { | ||
"$ref": "#/definitions/singleFormDefinition" | ||
} | ||
}, | ||
"schemaDefinitions": { | ||
"type": "object", | ||
"additionalProperties": { | ||
"$ref": "#/definitions/singleSchemaDefinition" | ||
} | ||
} | ||
} | ||
} | ||
} |
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
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
Oops, something went wrong.