City

A city or town.

Example eg-0389

Without Markup (source lint)

MusicGroup Example.

Sample JSON-LD for the Beatles as described by MusicBrainz.

RDFa (source lint)

Not available yet.

microdata (source lint)

Not available yet.

JSON-LD (source lint)

<script type="application/ld+json">
{
    "@context": "https://schema.org",
    "@type": "MusicGroup",
    "@id": "http://musicbrainz.org/artist/b10bbbfc-cf9e-42e0-be17-e2c3e1d2600d",
    "name": "Beatles",
    "sameAs": "http://www.thebeatles.com",
    "foundingLocation": {
        "@type": "City",
        "name": "Liverpool"
    },
    "foundingDate": "1957",
    "dissolutionDate": "1970",
    "genre": "Rock",
    "album": {
        "@type": "MusicAlbum",
        "name": "The Beatles",
        "alternateName": "The White Album",
        "@id": "http://musicbrainz.org/release-group/055be730-dcad-31bf-b550-45ba9c202aa3",
        "datePublished": "1968"
    },
    "member": [
      {
        "@type": "OrganizationRole",
        "member": {
          "@type": "Person",
          "name": "John Lennon"
        },
        "startDate": "1957",
        "endDate": "1970",
        "roleName": ["guitar", "lead vocals"]
      },
      {
        "@type": "OrganizationRole",
        "member": {
          "@type": "Person",
          "name": "Paul McCartney"
        },
        "startDate": "1957",
        "endDate": "1970",
        "roleName": ["bass guitar", "lead vocals"]
      },
      {
        "@type": "OrganizationRole",
        "member": {
          "@type": "Person",
          "name": "George Harrison"
        },
        "startDate": "1958",
        "endDate": "1970",
        "roleName": ["guitar", "lead vocals"]
      },
      {
        "@type": "OrganizationRole",
        "member": {
          "@type": "Person",
          "name": "Ringo Starr"
        },
        "startDate": "1962",
        "endDate": "1970",
        "roleName": "drums"
      }
    ]
}
</script>

structured

@id http://musicbrainz.org/artist/b10bbbfc-cf9e-42e0-be17-e2c3e1d2600d(0)
rdf:type schema:MusicGroup
schema:album
@id http://musicbrainz.org/release-group/055be730-dcad-31bf-b550-45ba9c202aa3(1)
rdf:type schema:MusicAlbum
schema:alternateName The White Album
schema:datePublished 1968
schema:name The Beatles
schema:dissolutionDate 1970
schema:foundingDate 1957
schema:foundingLocation
rdf:type schema:City
schema:name Liverpool
schema:genre Rock
schema:member
  • rdf:type schema:OrganizationRole
    schema:endDate 1970
    schema:member
    rdf:type schema:Person
    schema:name John Lennon
    schema:roleName
    • lead vocals
    • guitar
    schema:startDate 1957
  • rdf:type schema:OrganizationRole
    schema:endDate 1970
    schema:member
    rdf:type schema:Person
    schema:name Paul McCartney
    schema:roleName
    • bass guitar
    • lead vocals
    schema:startDate 1957
  • rdf:type schema:OrganizationRole
    schema:endDate 1970
    schema:member
    rdf:type schema:Person
    schema:name George Harrison
    schema:roleName
    • lead vocals
    • guitar
    schema:startDate 1958
  • rdf:type schema:OrganizationRole
    schema:endDate 1970
    schema:member
    rdf:type schema:Person
    schema:name Ringo Starr
    schema:roleName drums
    schema:startDate 1962
schema:name Beatles
schema:sameAs http://www.thebeatles.com