# Valeria Trust Profile 0.1.0
---
profile_metadata:
  name: Valeria Trust Profile
  issuer: Valeria Authoring Services
  date: 2026-08-12
  version: 0.1.0
  language: en
---
# Compact section: the primary data source for the Valeria Trust dialogue.
- id: valeria:compact
  title: Rights and provenance
  report_text: Essential information about this image, its origin and its permitted use.

- id: valeria:image_title
  description: Optional image title, preferably from standardized metadata.
  expression: >
    if(length(manifests[0].assertions.'cawg.metadata'.entries[?name == "title"].value) > 0,
       manifests[0].assertions.'cawg.metadata'.entries[?name == "title"].value | [0],
       null)
  report_text: "Image title: {{profile.valeria:image_title}}."

- id: valeria:gallery
  expression: >
    manifests[0].assertions.'gallery.valeria.vmc'.metadata.gallery.title
  report_text: "Gallery: {{profile.valeria:gallery}}."

- id: valeria:collection
  expression: >
    manifests[0].assertions.'gallery.valeria.vmc'.metadata.collection.title
  report_text: "Collection: {{profile.valeria:collection}}."

- id: valeria:creator
  expression: >
    manifests[0].assertions.'cawg.metadata'.entries[?name == "creator"].value | [0]
  report_text: "Creator: {{profile.valeria:creator}}."

- id: valeria:creator_organization
  expression: >
    manifests[0].assertions.'gallery.valeria.vmc'.metadata.creator.organization
  report_text: "Creator organization: {{profile.valeria:creator_organization}}."

- id: valeria:copyright_notice
  expression: >
    manifests[0].assertions.'gallery.valeria.vmc'.metadata.rights.copyright_notice
  report_text: "Copyright notice: {{profile.valeria:copyright_notice}}."

- id: valeria:license
  expression: >
    manifests[0].assertions.'jpt.rights'.'dcterms:license'
  report_text: This image is offered under the declared licence.

- id: valeria:digital_source_type
  expression: >
    manifests[0].assertions.'cawg.metadata'.entries[?name == "DigitalSourceType"].value | [0]
  report_text: This image has a declared IPTC Digital Source Type.

- id: valeria:curation_level
  expression: >
    manifests[0].assertions.'gallery.valeria.vmc'.metadata.image.curation_level
  report_text: "Valeria curation level: {{profile.valeria:curation_level}}."

- id: valeria:profile_documentation
  description: Version-specific documentation for this Trust Profile.
  expression: >
    "https://valeria.gallery/trust/profiles/valeria/0.1.0/"
  report_text: Documentation for the profile used to generate this report is available from Valeria.

- id: jpt:profile_compliance
  description: All required Valeria metadata can be retrieved; image title is optional.
  expression: >
    length(manifests) > 0 &&
    length(manifests[0].assertions.'cawg.metadata'.entries[?name == "creator"].value) > 0 &&
    length(manifests[0].assertions.'cawg.metadata'.entries[?name == "DigitalSourceType"].value) > 0 &&
    manifests[0].assertions.'jpt.rights'.'dcterms:license' != null &&
    manifests[0].assertions.'jpt.rights'.permission[0].assigner != null &&
    manifests[0].assertions.'gallery.valeria.vmc'.metadata.gallery.title != null &&
    manifests[0].assertions.'gallery.valeria.vmc'.metadata.collection.title != null &&
    manifests[0].assertions.'gallery.valeria.vmc'.metadata.creator.organization != null &&
    manifests[0].assertions.'gallery.valeria.vmc'.metadata.rights.copyright_notice != null &&
    manifests[0].assertions.'gallery.valeria.vmc'.metadata.rights.license.identifier != null &&
    manifests[0].assertions.'gallery.valeria.vmc'.metadata.image.curation_level != null
  report_text:
    "true":
      en: All metadata required by the Valeria Trust Profile could be retrieved. Optional metadata does not affect this result.
    "false":
      en: One or more metadata fields required by the Valeria Trust Profile could not be retrieved.

- id: jpt:profile_summary
  expression: >
    if(@.profile.'jpt:profile_compliance' &&
       manifests[0].status.signature == "claimSignature.validated" &&
       manifests[0].status.content == "assertion.dataHash.match" &&
       manifests[0].status.assertion.'cawg.metadata' == "assertion.hashedURI.match" &&
       manifests[0].status.assertion.'jpt.rights' == "assertion.hashedURI.match" &&
       manifests[0].status.assertion.'gallery.valeria.vmc' == "assertion.hashedURI.match",
       "This image contains the metadata required by the Valeria Trust Profile, including creator, rights, digital-source and Valeria publication information. Its signed content and assertion references validate.",
       "This image does not satisfy all metadata and validation requirements of the Valeria Trust Profile.")
  report_text: Summary of the Valeria Trust Profile evaluation.
---
# Extended section: supporting identity, provenance and validation details.
- id: valeria:extended
  title: Detailed information
  report_text: Detailed asset, rights, provenance and validation information.

- id: valeria:asset_identifier
  expression: >
    manifests[0].assertions.'cawg.metadata'.entries[?name == "identifier"].value | [0]
  report_text: "Asset identifier: {{profile.valeria:asset_identifier}}."

- id: valeria:rights_holder
  expression: >
    manifests[0].assertions.'jpt.rights'.permission[0].assigner
  report_text: "Rights holder: {{profile.valeria:rights_holder}}."

- id: valeria:license_identifier
  expression: >
    manifests[0].assertions.'gallery.valeria.vmc'.metadata.rights.license.identifier
  report_text: "Licence identifier: {{profile.valeria:license_identifier}}."

- id: valeria:manifest_present
  expression: length(manifests) > 0
  report_text:
    "true": {en: A C2PA manifest is present.}
    "false": {en: No C2PA manifest is present.}

- id: valeria:claim_signature_valid
  expression: >
    manifests[0].status.signature == "claimSignature.validated"
  report_text:
    "true": {en: The C2PA claim signature validates cryptographically.}
    "false": {en: The C2PA claim signature does not validate.}

- id: valeria:content_binding_valid
  expression: >
    manifests[0].status.content == "assertion.dataHash.match"
  report_text:
    "true": {en: The image content matches the signed C2PA data-hash assertion.}
    "false": {en: The image content does not match the signed C2PA data-hash assertion.}

- id: valeria:assertion_references_valid
  expression: >
    manifests[0].status.assertion.'cawg.metadata' == "assertion.hashedURI.match" &&
    manifests[0].status.assertion.'jpt.rights' == "assertion.hashedURI.match" &&
    manifests[0].status.assertion.'gallery.valeria.vmc' == "assertion.hashedURI.match"
  report_text:
    "true": {en: All referenced C2PA assertions used by this report match their recorded hashes.}
    "false": {en: One or more referenced C2PA assertions used by this report do not match their recorded hashes.}

- id: valeria:claim_generator
  expression: manifests[0].'claim.v2'.claim_generator
  report_text: "Claim generator: {{profile.valeria:claim_generator}}."

- id: valeria:claim_generator_version
  expression: >
    manifests[0].assertions.'c2pa.actions.v2'.actions[?action == "c2pa.published"].softwareAgent.version | [0]
  report_text: "Claim generator version: {{profile.valeria:claim_generator_version}}."
