match
0
when
i1=7 & $2 =~ ansi|ANSI|danacode|doi|DOI|GRID|GRid|grid|gtin-14|hdl|HDL|isan|ISAN|iso|ISO|istc|ISTC|iswc|ISWC|uri|URI|urn|URN
$2
property
NOTE
NB! Order is significant. The last key for the same value will be used on revert
tokenMap
ANSI
Ansi
ansi
Ansi
danacode
Danacode
DOI
DOI
doi
DOI
GRID
GRID
GRid
GRID
grid
GRID
gtin-14
GTIN14
HDL
Hdl
hdl
Hdl
ISAN
ISAN
isan
ISAN
ISO
ISO
iso
ISO
ISTC
ISTC
istc
ISTC
ISWC
ISWC
iswc
ISWC
URI
URI
uri
URI
URN
URN
urn
URN
1
when
i1=7 & $2
i1
property
tokenMap
7
Identifier
i1
property
tokenMap
0
ISRC
1
UPC
2
ISMN
3
EAN
4
SICI
7
Identifier
8
Identifier
TODO:definedElsewhereToken
7
$c
$d
addLink
resourceType
property
NOTE:marc-repeatable
false
$2
TODO:requires-i1
7 (overwritten by 8)
TODO:see
http://www.loc.gov/standards/sourcelist/standard-identifier.html
$6
Exempel: ISRC, indicator as tokenMap
MARC
{
  "024": {
    "ind1": "0",
    "ind2": " ",
    "subfields": [
      {
        "a": "NLC018413261"
      },
      {
        "z": "NLC018403261"
      }
    ]
  }
}
JSON-LD
{
  "mainEntity": {
    "identifiedBy": [
      {
        "@type": "ISRC",
        "value": "NLC018413261",
        "marc:hiddenValue": [
          "NLC018403261"
        ]
      }
    ]
  }
}
Exempel: UPC, indicator as tokenMap
MARC
{
  "024": {
    "ind1": "1",
    "ind2": " ",
    "subfields": [
      {
        "a": "070993005955"
      },
      {
        "d": "35740"
      }
    ]
  }
}
JSON-LD
{
  "mainEntity": {
    "identifiedBy": [
      {
        "@type": "UPC",
        "value": "070993005955",
        "hasNote": [
          {
            "@type": "Note",
            "label": "35740"
          }
        ]
      }
    ]
  }
}
Exempel: ISMN, indicator as tokenMap
MARC
{
  "024": {
    "ind1": "2",
    "ind2": " ",
    "subfields": [
      {
        "a": "9790692006282"
      }
    ]
  }
}
JSON-LD
{
  "mainEntity": {
    "identifiedBy": [
      {
        "@type": "ISMN",
        "value": "9790692006282"
      }
    ]
  }
}
Exempel: EAN, indicator as tokenMap
MARC
{
  "024": {
    "ind1": "3",
    "ind2": " ",
    "subfields": [
      {
        "a": "9780838934326"
      },
      {
        "d": "90000"
      }
    ]
  }
}
JSON-LD
{
  "mainEntity": {
    "identifiedBy": [
      {
        "@type": "EAN",
        "value": "9780838934326",
        "hasNote": [
          {
            "@type": "Note",
            "label": "90000"
          }
        ]
      }
    ]
  }
}
Exempel: SICI, indicator as tokenMap
MARC
{
  "024": {
    "ind1": "4",
    "ind2": " ",
    "subfields": [
      {
        "a": "8756-2324(198603/04)65:2L.4:QTP:1-P"
      }
    ]
  }
}
JSON-LD
{
  "mainEntity": {
    "identifiedBy": [
      {
        "@type": "SICI",
        "value": "8756-2324(198603/04)65:2L.4:QTP:1-P"
      }
    ]
  }
}
Exempel: Ansi, indicator from $2 when i1 = 7
MARC
{
  "024": {
    "ind1": "7",
    "ind2": " ",
    "subfields": [
      {
        "a": "xyz"
      },
      {
        "2": "ansi"
      }
    ]
  }
}
JSON-LD
{
  "mainEntity": {
    "@type": "Instance",
    "identifiedBy": [
      {
        "@type": "Ansi",
        "value": "xyz"
      }
    ]
  }
}
Exempel: Gtin-14, indicator from $2 when i1 = 7
MARC
{
  "024": {
    "ind1": "7",
    "ind2": " ",
    "subfields": [
      {
        "a": "100123456578902"
      },
      {
        "2": "gtin-14"
      }
    ]
  }
}
JSON-LD
{
  "mainEntity": {
    "@type": "Instance",
    "identifiedBy": [
      {
        "@type": "GTIN14",
        "value": "100123456578902"
      }
    ]
  }
}
Exempel: Danacode, indicator from $2 when i1 = 7
MARC
{
  "024": {
    "ind1": "7",
    "ind2": " ",
    "subfields": [
      {
        "a": "xyz"
      },
      {
        "2": "danacode"
      }
    ]
  }
}
JSON-LD
{
  "mainEntity": {
    "@type": "Instance",
    "identifiedBy": [
      {
        "@type": "Danacode",
        "value": "xyz"
      }
    ]
  }
}
Exempel: DOI, indicator from $2 when i1 = 7
MARC
{
  "024": {
    "ind1": "7",
    "ind2": " ",
    "subfields": [
      {
        "a": "10.1109/5.771073"
      },
      {
        "2": "doi"
      }
    ]
  }
}
JSON-LD
{
  "mainEntity": {
    "@type": "Instance",
    "identifiedBy": [
      {
        "@type": "DOI",
        "value": "10.1109/5.771073"
      }
    ]
  }
}
Exempel: Hdl, indicator from $2 when i1 = 7
MARC
{
  "024": {
    "ind1": "7",
    "ind2": " ",
    "subfields": [
      {
        "a": "20.1000/100"
      },
      {
        "2": "hdl"
      }
    ]
  }
}
JSON-LD
{
  "mainEntity": {
    "@type": "Instance",
    "identifiedBy": [
      {
        "@type": "Hdl",
        "value": "20.1000/100"
      }
    ]
  }
}
Exempel: ISO,ISAN,ISTC,ISWC, indicator from $2 when i1 = 7
MARC
[
  {
    "024": {
      "ind1": "7",
      "ind2": " ",
      "subfields": [
        {
          "a": "abc"
        },
        {
          "2": "iso"
        }
      ]
    }
  },
  {
    "024": {
      "ind1": "7",
      "ind2": " ",
      "subfields": [
        {
          "a": "def"
        },
        {
          "2": "isan"
        }
      ]
    }
  },
  {
    "024": {
      "ind1": "7",
      "ind2": " ",
      "subfields": [
        {
          "a": "ghi"
        },
        {
          "2": "istc"
        }
      ]
    }
  },
  {
    "024": {
      "ind1": "7",
      "ind2": " ",
      "subfields": [
        {
          "a": "jkl"
        },
        {
          "2": "iswc"
        }
      ]
    }
  }
]
JSON-LD
{
  "mainEntity": {
    "@type": "Instance",
    "identifiedBy": [
      {
        "@type": "ISO",
        "value": "abc"
      },
      {
        "@type": "ISAN",
        "value": "def"
      },
      {
        "@type": "ISTC",
        "value": "ghi"
      },
      {
        "@type": "ISWC",
        "value": "jkl"
      }
    ]
  }
}
Exempel: URI, indicator from $2 when i1 = 7
MARC
{
  "024": {
    "ind1": "7",
    "ind2": " ",
    "subfields": [
      {
        "a": "http://id.kb.se/organisations/SE0123456789/KB-2021"
      },
      {
        "2": "uri"
      }
    ]
  }
}
JSON-LD
{
  "mainEntity": {
    "@type": "Instance",
    "identifiedBy": [
      {
        "@type": "URI",
        "value": "http://id.kb.se/organisations/SE0123456789/KB-2021"
      }
    ]
  }
}
Exempel: indicator from $2 when i1 = 7
MARC
{
  "024": {
    "ind1": "7",
    "ind2": " ",
    "subfields": [
      {
        "a": "1234567890"
      },
      {
        "2": "xyz"
      }
    ]
  }
}
JSON-LD
{
  "mainEntity": {
    "identifiedBy": [
      {
        "@type": "Identifier",
        "value": "1234567890",
        "typeNote": "xyz"
      }
    ]
  }
}
Exempel: Unspecified Identifier
MARC
{
  "024": {
    "ind1": "8",
    "ind2": " ",
    "subfields": [
      {
        "a": "8"
      }
    ]
  }
}
JSON-LD
{
  "mainEntity": {
    "identifiedBy": [
      {
        "@type": "Identifier",
        "value": "8"
      }
    ]
  }
}
Exempel: Unspecified Identifier
MARC
{
  "024": {
    "ind1": "7",
    "ind2": " ",
    "subfields": [
      {
        "a": "actually ind1 8"
      }
    ]
  }
}
Normalized MARC:
{
  "024": {
    "ind1": "8",
    "ind2": " ",
    "subfields": [
      {
        "a": "actually ind1 8"
      }
    ]
  }
}
JSON-LD
{
  "mainEntity": {
    "identifiedBy": [
      {
        "@type": "Identifier",
        "value": "actually ind1 8"
      }
    ]
  }
}
Exempel: Identifier with space
MARC
{
  "024": {
    "ind1": "7",
    "ind2": "2",
    "subfields": [
      {
        "a": "A 148"
      },
      {
        "2": "KBxxxxx"
      }
    ]
  }
}
Normalized MARC:
{
  "024": {
    "ind1": "7",
    "ind2": " ",
    "subfields": [
      {
        "a": "A 148"
      },
      {
        "2": "KBxxxxx"
      }
    ]
  }
}
JSON-LD
{
  "mainEntity": {
    "identifiedBy": [
      {
        "@type": "Identifier",
        "value": "A 148",
        "typeNote": "KBxxxxx"
      }
    ]
  }
}
Exempel: i2 = 0 (No difference)
MARC
{
  "024": {
    "ind1": "7",
    "ind2": "0",
    "subfields": [
      {
        "a": "A 148"
      },
      {
        "2": "KB-signum"
      }
    ]
  }
}
Normalized MARC:
{
  "024": {
    "ind1": "7",
    "ind2": " ",
    "subfields": [
      {
        "a": "A 148"
      },
      {
        "2": "KB-signum"
      }
    ]
  }
}
JSON-LD
{
  "mainEntity": {
    "identifiedBy": [
      {
        "@type": "Identifier",
        "value": "A 148",
        "typeNote": "KB-signum"
      }
    ]
  }
}
Exempel: -
MARC
{
  "024": {
    "ind1": "8",
    "ind2": " ",
    "subfields": [
      {
        "a": "A(148)"
      }
    ]
  }
}
JSON-LD
{
  "mainEntity": {
    "identifiedBy": [
      {
        "@type": "Identifier",
        "value": "A(148)"
      }
    ]
  }
}