{
  "id": "formal_public_identifier",
  "kind": "datatype",
  "status": "draft",
  "name": "Formal Public Identifier (FPI)",
  "doc": "Structured text identifier from SGML (ISO 8879 and ISO/IEC 9070) used in DOCTYPE declarations of SGML, HTML and XML documents. It consists of an owner identifier, a double slash and a text identifier. The owner starts with -// (unregistered), +// (registered) or ISO. The text identifier starts with a public text class such as DTD or ENTITIES, followed by a description and, after another double slash, a language code.",
  "is_pii": false,
  "categories": [
    "software"
  ],
  "langs": [
    "common"
  ],
  "classification": "identifier",
  "regexp": "^(?:ISO[^/]*(?:/[^/]+)*|[+-]//[^/]+(?:/[^/]+)*)//(?:CAPACITY|CHARSET|DOCUMENT|DTD|ELEMENTS|ENTITIES|LPD|NONSGML|NOTATION|SD|SHORTREF|SUBDOC|SYNTAX|TEXT) (?:-//)?[^/]+(?:/[^/]+)*//[^/]+(?:/[^/]+)*(?://[^/]+)?$",
  "examples": [
    {
      "value": "-//W3C//DTD HTML 4.01//EN",
      "description": "HTML 4.01 document type definition",
      "valid": true
    },
    {
      "value": "ISO 8879:1986//ENTITIES Added Latin 1//EN",
      "description": "SGML Latin-1 entity set",
      "valid": true
    },
    {
      "value": "-//W3C//HTML 4.01//EN",
      "description": "The public text class is missing",
      "valid": false
    }
  ],
  "mappings": {
    "wikidata": "P4506"
  },
  "links": [
    {
      "type": "wikipedia",
      "url": "https://en.wikipedia.org/wiki/Formal_Public_Identifier"
    },
    {
      "type": "wikidata",
      "url": "https://www.wikidata.org/wiki/Property:P4506"
    }
  ],
  "quality": {
    "score": 85,
    "missing": [
      "translation",
      "detector coverage"
    ]
  },
  "source": {
    "path": "data/datatypes/any/software/formal_public_identifier.yaml",
    "url": "https://github.com/apicrafter/metacrafter-registry/blob/main/data/datatypes/any/software/formal_public_identifier.yaml",
    "edit_url": "https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/any/software/formal_public_identifier.yaml"
  },
  "urls": {
    "html": "http://registry.apicrafter.io/datatype/formal_public_identifier",
    "json": "http://registry.apicrafter.io/api/v1/datatypes/formal_public_identifier.json"
  }
}