Skip to content

V4 FilterTermsResponseContent #25

@pabloalarconm

Description

@pabloalarconm
FilterTermsResponseContent:
  required:
    - filteringTerms
  properties:
    filteringTerms:
      $ref: "#/components/schemas/FilterTermsResponse"
    resources:
       $ref: "#/components/schemas/FilterTermsResourceResponse"

Based on the specification, only FilterTermsResponse is required, however when you check FilterTermsResourceResponse, id is required, breaking the chain of requirements in the specification.

FilterTermsResourceResponse:
  type: array
  description: |
    Description of an ontology resource defined externally to this beacon implementation, such as MeSH or EFO, based on the phenopackets resource object (https://phenopacket-schema.readthedocs.io/en/latest/resource.html)
  items:
    type: object
    required:
      - id
    properties:
      id:
        type: string
        description: |
          Preferably OBO ID representing the resource; alternatively a URI pointing towards the definitions may be used if not in OBO.

Also, the use of "resource" tagname in order to the name the CURIE syntax for the terms used, could led to confusion, they are not resources, only vocabulary and terminology, i would recommend to change the name to something like "vocabulary" or "terminology"

Bests!

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions