Spanish legal deposit code
What this tool does
This tool checks if a Spanish legal deposit number follows the official writing rules. It looks at the structure of the code you provide to see if it matches the standard patterns used in Spain. This helps you ensure your records or documents use the correct format before you save them. It does not verify if the number is currently active or assigned.
When to use it
- Validating a list of publication records before uploading them.
- Checking if a code entered by a user is correctly formatted.
- Cleaning up old data to ensure all entries follow the modern rules.
- Preparing legal documentation that requires accurate deposit codes.
What to expect
You will get a simple yes or no answer. This tells you if the code looks right in terms of shape and structure.
Limitations
- It only checks the format, so it cannot tell you if the deposit is real or active.
- It does not check if the publisher is correct or if the title is registered.
- It may accept a code that looks correct but is not currently in use by the official register.
When it fails
- The input field is empty or missing.
- The text contains symbols or letters that are not allowed in this format.
- The numbers or years do not match the expected length.
Good to know
- Spaces and hyphens in the code are ignored, so you can type it naturally.
- The tool accepts both the older style codes and the newer eight-digit assignments.
Input data
| Parameter | Required | Example | Description |
|---|---|---|---|
deposit_legal | Yes | AS 229-1997 | Enter the Spanish legal deposit number here as plain text. This field is required. Examples like 'AS 229-1997' or 'M 12345678' are accepted. |
Output data
| Field | Description |
|---|---|
result | A yes or no indicator showing if the deposit code format is valid. For example, 'true' means the shape is correct, while 'false' means it is not. |