-
Notifications
You must be signed in to change notification settings - Fork 62
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
Showing
29 changed files
with
175 additions
and
944 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file was deleted.
Oops, something went wrong.
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
This file was deleted.
Oops, something went wrong.
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,19 @@ | ||
{ | ||
|
||
"$schema": "http://json-schema.org/draft-04/schema#", | ||
|
||
"title": "Error", | ||
|
||
"description": "Schema for error, BCF REST API.", | ||
|
||
"type": "object", | ||
|
||
"properties": { | ||
|
||
"message": {"type": "string"} | ||
|
||
}, | ||
|
||
"required": ["message"] | ||
|
||
} |
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,13 @@ | ||
{ | ||
"$schema": "http://json-schema.org/draft-04/schema#", | ||
"title": "File", | ||
"description": "File in BCF REST API. A topic can be related to multiple files.", | ||
"type": "object", | ||
"properties": { | ||
"ifc_project": {"type": "string"}, | ||
"ifc_spatial_structure_element": {"type": "string"}, | ||
"file_name": {"type": "string"}, | ||
"date": {"type": "string", "format": "date-time"}, | ||
"reference": {"type": "string"} | ||
} | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,55 +1,15 @@ | ||
{ | ||
"$schema": "http://json-schema.org/draft-04/schema#", | ||
"title": "Project", | ||
"description": "Schema for project, BCF REST API. A team can have multiple projects.", | ||
"type": "object", | ||
"definitions": { | ||
"guid": { | ||
"type": "string", | ||
"pattern": "[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}"} | ||
}, | ||
"properties": { | ||
"guid": {"$ref": "#/definitions/guid"}, | ||
"name": {"type": "string"}, | ||
"short_descr": {"type": "string"}, | ||
"creator": {"$ref": "#/definitions/guid"}, | ||
"created": { "type": "string", "format": "date-time" }, | ||
"changed": { "type": "string", "format": "date-time" }, | ||
"team_guid": {"$ref": "#/definitions/guid"}, | ||
"rights": { | ||
"type": "object", | ||
"properties": { | ||
"project_admin": { "type": "boolean" }, | ||
"project_delete": { "type": "boolean" }, | ||
"project_edit": { "type": "boolean" }, | ||
"domain_create": { "type": "boolean" } | ||
} | ||
} , | ||
"domains": { | ||
"type": "array", | ||
"items": [ | ||
{"type": "object", | ||
"properties": { | ||
"guid": {"$ref": "#/definitions/guid"}, | ||
"name": {"type": "string"}, | ||
"rights": { | ||
"type": "object", | ||
"properties": { | ||
"revision_add": { "type": "boolean" }, | ||
"revision_delete": { "type": "boolean" }, | ||
"revision_edit": { "type": "boolean" }, | ||
"revision_view": { "type": "boolean" } | ||
} | ||
} | ||
} | ||
} | ||
] | ||
} | ||
}, | ||
"required": ["guid","name","team_guid"], | ||
"links": [ | ||
{"rel": "domains","href": "{guid}/domains"}, | ||
{"rel": "attachments","href": "{guid}/attachments"}, | ||
{"rel": "thumbnail", "href": "{guid}/bitmap","mediaType": "image/*"} | ||
] | ||
} | ||
{ | ||
"$schema": "http://json-schema.org/draft-04/schema#", | ||
"title": "Project", | ||
"description": "Schema for project, BCF REST API.", | ||
"type": "object", | ||
"properties": { | ||
"project_id": {"type": "string"}, | ||
"name": {"type": "string"}, | ||
"extension_schema": {"type": "string"}, | ||
"links": [ | ||
{"rel": "topics", "href": "{guid}/topics"}, | ||
{"rel": "extension", "href": "{guid}/extension"} | ||
] | ||
} | ||
} |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.