id: http://purl.obolibrary.org/obo/go/references/
name: GO_REF
title: GO_REF LinkML schema
description: LinkML schema representing the structure of GO_REF metadata

imports:
  - linkml:types

prefixes:
  linkml: https://w3id.org/linkml/
  GO_REF: http://purl.obolibrary.org/obo/go/references/
  ECO: http://purl.obolibrary.org/obo/eco.owl
  PMID: http://www.ncbi.nlm.nih.gov/pubmed/
default_prefix: GO_REF

slots:
  alt_id:
    examples:
      - value: GO_REF:0000009
    multivalued: true
    range: uriorcurie
    pattern: GO_REF:[0-9]{7}
    description: Alternate IDs for GO_REF.

  authors:
    examples:
      - value: FlyBase
    range: string
    required: true
    description: Author of the GOREF.

  citation:
    examples:
      - value: PMID:11374909
    range: uriorcurie
    description: Publication for GO_REF.

  comments:
    multivalued: true
    range: string
    description: Comments.

  description:
    range: string
    required: true
    aliases:
      - abstract
      - definition

  evidence_codes:
    examples:
      - value: ECO:0000501
    multivalued: true
    range: uriorcurie
    pattern: ECO:[0-9]{7}
    description: Evidence codes for GO_REF.

  external_accession:
    examples:
      - value: J:164563
    multivalued: true
    range: uriorcurie
    pattern: '[a-zA-Z\_]+:[0-9a-zA-Z\_]+'
    description: >-
      List of cross references from other databases for the same entity.

  id:
    examples:
      - value: GO_REF:0000098
    range: string
    identifier: true
    description: GO_REF identifier
    pattern: GO_REF:[0-9]{7}

  is_obsolete:
    examples:
      - value: true
    range: boolean
    description: >-
      Boolean value indicating whether or not the GO_REF is still in use.

  title:
    examples:
      - value: OBSOLETE Gene Ontology annotation based on research conference abstracts
    range: string
    description: Title.
    required: true

  url:
    examples:
      - value: http://www.ebi.ac.uk/GOA/ISS_method.html
    range: uriorcurie
    description: URL for further information.
    pattern: 'http[s]?://'

  year:
    examples:
      - value: 2014
    range: integer
    description: Year in which the GO_REF was created.
    minimum_value: 1998

classes:
  GoRef:
    slots:
      - alt_id
      - authors
      - citation
      - comments
      - description
      - evidence_codes
      - external_accession
      - id
      - is_obsolete
      - title
      - url
      - year
