Skip to content

Metashare_min_schema

Ondřej Košarko edited this page Jan 11, 2016 · 1 revision

Metashare min schema

A sketch of what should probably be in the metashare minimal schema. “???" Means not sure if really mandatory resourceInfo

identificationInfo
 resourcneName - "dc:title"
 description - "dc:description"
 metaShareId - mandatory but should be se to "NOT\_DEFINED\_FOR\_V2"

distributionInfo
 availability [unrestrictedUse, restrictedUse,notAvailableThroughMetaShare] we should probably use restrictedUse because we have licences everywhere
 licenceInfo
    licence - controlled vocabulary
    restrictionsOfUse - controlled vocabulary,

contactPerson
 surname
 communicationInfo
    email

metadataInfo
 metadataCreationDate - "dc:date"

???
resourceComponentType - one of following
 corpusInfo
    resourceType = corpus
    corpusMediaType
        ??? - choice

        corpusTextInfo
             mediaType = text
             lingualityInfo
                lingualityType
             languageInfo
                languageId
                languageName
             sizeInfo
                size
                sizeUnit

        corpusAudioInfo
             mediaType = audio
             lingualityInfo
                lingualityType
             languageInfo
                languageId
                languageName
             audioSizeInfo
                sizeInfo
                    size
                sizeUnit

        corpusVideoInfo
             mediaType = video
             sizeInfo
                size
                sizeUnit

         corpusImageInfo
             mediaType = image
             sizeInfo
                 size
                 sizeUnit

         corpusTextNumericalInfo
             mediaType = textNumerical

         corpusTextNgramInfo
             mediaType = textNgram
             ngramInfo
                 baseItem
                 order
             lingualityInfo
                 lingualityType
             languageInfo
                 languageId
                 languageName
             sizeInfo
                 size
                 sizeUnit

 toolServiceInfo
     resourceType = toolService
     toolServiceType - controlled vocabulary
     languageDependent

 languageDescriptionInfo
     resourceType = languageDescription
     languageDescriptionType
     languageDescriptionMediaType???
         languageDescriptionTextInfo
             mediaType = text
             lingualityInfo
                 lingualityType
             languageInfo
                 languageId
                 languageName

 lexicalConceptualResourceInfo
     resourceType = lexicalConceptualResource
     lexicalConceptualResourceType
     lexicalCOnceptualResourceMediaType
     lexicalConceptualResourceTextInfo
         mediaType = text
         lingualityInfo
             lingualityType
         languageInfo
             languageId
             languageName
         sizeInfo
             size
             sizeUnit

The previous version (more precisely what we had”slots" for in db) looked like this:

ResourceInfo
    ContactInfo
        PersonInfo
            givenName
            surname
            OrganizationInfo
                organizationName
                CommunicationInfo
                    email
    ContentInfo
        description
        mediaType
    DistributionInfo
        availability
        LicenseInfo
            distributionMedium
            license
            restrictionsOfUse
    IdentificationInfo
        resourceName
    ResourceCreationInfo
        FundingInfo
            ProjectInfo
                fundingType
                projectTitle
    TextInfo
        LanguageInfo
            languageCoding
        SizeInfo
            size
            sizeUnit
            sizeUnitMultiplier
    ValidationInfo
        validated
Clone this wiki locally