Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Removing references to filteringTerms URL both in EntryTypeDefinition… #174

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 1 addition & 6 deletions framework/json/configuration/beaconMapSchema.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": true,
"definitions": {
"$defs": {
"Endpoint": {
"properties": {
"endpoints": {
Expand All @@ -16,11 +16,6 @@
"description": "",
"type": "string"
},
"filteringTermsUrl": {
"description": "Optional. Returns the list of filtering terms that could be applied to this entry type. It is added here for convenience of the Beacon clients, so they don't need to parse the OpenAPI endpoints definition to get that endpoint. Also, in very simple Beacons, that endpoint could be the one of the few implemented, together with \u00b4rootUrl` and \u00b4singleEntryUrl`, in which case the whole map of endpoints is found in the current Map.",
"format": "uri-template",
"type": "string"
},
"openAPIEndpointsDefinition": {
"description": "Reference to the file that includes the OpenAPI definition of the endpoints implemented in this Beacon instance. The referenced file MUST BE a valid OpenAPI definition file, as it is expected that the Beacon clients (e.g. a Beacon Network) should be able to parse it to discover additional details on the supported verbs, parameters, etc.",
"type": "string"
Expand Down
5 changes: 0 additions & 5 deletions framework/json/configuration/entryTypeDefinition.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,6 @@
"description": "A textual description for the element.",
"type": "string"
},
"filteringTerms": {
"$comment": "TO DO: Evaluate switch this to `url` or a more specific way for allowing URLs and local file paths (is this necessary?).",
"description": "Reference to the list of filtering terms that could be used to filter records of this entry type in this beacon.",
"type": "string"
},
"id": {
"description": "A unique identifier of the element.",
"examples": [
Expand Down
9 changes: 0 additions & 9 deletions framework/src/configuration/beaconMapSchema.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,15 +47,6 @@ definitions:
whole map of endpoints is found in the current Map.
type: string
format: uri-template
filteringTermsUrl:
description: Optional. Returns the list of filtering terms that could be applied
to this entry type. It is added here for convenience of the Beacon clients,
so they don't need to parse the OpenAPI endpoints definition to get that
endpoint. Also, in very simple Beacons, that endpoint could be the one of
the few implemented, together with ´rootUrl` and ´singleEntryUrl`, in which
case the whole map of endpoints is found in the current Map.
type: string
format: uri-template
endpoints:
description: Optional. A list describing additional endpoints implemented
by this Beacon instance for that entry type. Additional details on the endpoint
Expand Down
8 changes: 0 additions & 8 deletions framework/src/configuration/entryTypeDefinition.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,14 +57,6 @@ properties:
includedConcepts:
type: array
$ref: ../common/basicElement.yaml
filteringTerms:
description: >-
Reference to the list of filtering terms that could be used to filter records
of this entry type in this beacon.
type: string
$comment: >-
TO DO: Evaluate switch this to `url` or a more specific way for allowing
URLs and local file paths (is this necessary?).
nonFilteredQueriesAllowed:
$ref: ../common/beaconCommonComponents.yaml#/definitions/NonFilteredQueriesAllowed
required:
Expand Down
Loading