# validation - admin-graphql - QUERY Version: 2024-10 ## Description Validation available on the shop. ### Access Scopes `read_validations` access scope. ## Arguments * [id](/docs/api/admin-graphql/2024-10/scalars/ID): ID! - The ID of the validation. ## Returns * [blockOnFailure](/docs/api/admin-graphql/2024-10/scalars/Boolean): Boolean! Whether the validation should block on failures other than expected violations. * [enabled](/docs/api/admin-graphql/2024-10/scalars/Boolean): Boolean! Whether the validation is enabled on the merchant checkout. * [errorHistory](/docs/api/admin-graphql/2024-10/objects/FunctionsErrorHistory): FunctionsErrorHistory The error history on the most recent version of the validation function. * [id](/docs/api/admin-graphql/2024-10/scalars/ID): ID! Global ID for the validation. * [metafield](/docs/api/admin-graphql/2024-10/objects/Metafield): Metafield A [custom field](https://shopify.dev/docs/apps/build/custom-data), including its `namespace` and `key`, that's associated with a Shopify resource for the purposes of adding and storing additional information. * [privateMetafield](/docs/api/admin-graphql/2024-10/objects/PrivateMetafield): PrivateMetafield Returns a private metafield by namespace and key that belongs to the resource. * [shopifyFunction](/docs/api/admin-graphql/2024-10/objects/ShopifyFunction): ShopifyFunction! The Shopify Function implementing the validation. * [title](/docs/api/admin-graphql/2024-10/scalars/String): String! The merchant-facing validation name. ## Examples