Function validate_portrait

Source
pub fn validate_portrait(response: &Json, id: &str) -> Result<(), &'static str>
Expand description

Checks portrait tables before a fetch records a completed absence.

Claims and P18 are optional, but a present table must keep its documented shape. Unreadable tables do not establish that an artist has no portrait.